package com.ymttest.database.sqlwapper;

import java.util.List;

import com.ymt.database.SqlManager;
import com.ymttest.database.model.YmtCouponConversionCode;
import com.ymttest.database.model.YmtCouponConversionRecord;
import com.ymttest.utils.EnvSetup;

public class YmtCouponConversionRecordWapper {
	SqlManager manage;

    public YmtCouponConversionRecordWapper() {
        manage = new SqlManager("ymt" + EnvSetup.getEnv());
    }
    
    public List<YmtCouponConversionRecord> selectByConversionBillId(int conversionBillId) {
        List<YmtCouponConversionRecord> result = manage
                .getSelectResults(
                        "com.ymttest.database.mapping.YmtCouponConversionRecordMapper.selectByConversionBillId",
                        conversionBillId);
        return result;
    }
}
